package com.thientan.model.enums;

/**
 * Phan loai vi tri chuc nang cua cac nhan vien.
 * 
 * @author DINH HONG CHAU
 * 
 */
public enum LoaiNhanVien {
	ADMIN("ADMIN", "Quản trị"), 
	BAN_HANG("BAN_HANG", "Bán hàng"), 
	THU_NGAN("THU_NGAN", "Thu ngân"), 
	KE_TOAN("KE_TOAN", "Kế toán");
	private final String value;
	private final String displayText;

	LoaiNhanVien(String value, String displayText) {
		this.value = value;
		this.displayText = displayText;
	}

	@Override
	public String toString() {
		return this.displayText;
	}

	public String getValue() {
		return value;
	}
}
